﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using DocumentFormat.OpenXml.Wordprocessing;
using DocumentFormat.OpenXml;
using GeneratedCode;
using System.IO;
using DocumentFormat.OpenXml.Packaging;


/// <summary>
/// Summary description for BadNotarialFormReport
/// </summary>
public class BadNotarialFormReport
{
    public BadNotarialFormReport()
    {

    }

    public byte[] GetReport(IList<BadNotarialFormsGeneratedClass.NotarialFormBadReportItem> list)
    {
        var x = new BadNotarialFormsGeneratedClass();
        x.list = list;
        return x.CreatePackageAsBytes();
    }
}
